package com.yloveg.dao;

import java.util.List;
import java.util.Map;

import com.yloveg.entity.SPermission;
import com.yloveg.entity.SPermissionExtend;

public interface SPermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SPermission record);

    int insertSelective(SPermission record);

    SPermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SPermission record);

    int updateByPrimaryKey(SPermission record);
    
    List<SPermissionExtend> getMem(SPermission sPermission);
    
    List<SPermissionExtend> getMemF(Map<String,Object> map);
    
    List<SPermissionExtend> getMemC(Map<String,Object> map);
    
    List<SPermission> getUserMainMum(Long userId);
    
    
}